package tech.smartboot.redisun;

import tech.smartboot.redisun.resp.RESP;

import java.util.concurrent.CompletableFuture;

/**
 * @author 三刀
 * @version v1.0 10/21/25
 */
public class RedisSession {
    /**
     * 正在解码的响应
     */
    private RESP decodingResponse;
    private CompletableFuture<RESP> future;

    RESP getDecodingResponse() {
        return decodingResponse;
    }

    void setDecodingResponse(RESP decodingResponse) {
        this.decodingResponse = decodingResponse;
    }

    public CompletableFuture<RESP> getFuture() {
        return future;
    }

    public void setFuture(CompletableFuture<RESP> future) {
        this.future = future;
    }
}
